package com.hp.service;

import com.hp.entity.ResourceTypeTreeVo;
import com.hp.entity.ResourcesType;
import com.hp.result.DataGridResultInfo;
import com.hp.result.SubmitResultInfo;

import java.util.List;

/**
 * 业务接口
 */
public interface ResourcesTypeService {


    public DataGridResultInfo pageresourcetype(int page, int rows) throws Exception;

    public SubmitResultInfo savetype(ResourcesType resourcesType)throws Exception;

    public ResourcesType findTypeById(String id)throws Exception;

    public SubmitResultInfo updatetype(ResourcesType resourcesType)throws Exception;

    public SubmitResultInfo deletetype(String typeid)throws Exception;

    public List<ResourcesType> getResourcesTypes();

    public ResourceTypeTreeVo getResourceTypeTreeVo()throws Exception ;

    public DataGridResultInfo getAllById(String typeid, int page, int rows, ResourcesType resources) throws Exception;
}
